{OVERALL_HEADER}
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="200" valign="top">
	IF("{LOGGEDIN}"=="0"){<a href="signup.php">{LANG_JOIN}</a><br><a href="login.php">{LANG_LOGIN}</a><br>{:IF}
	IF("{LOGGEDIN}"=="1"){<a href="logout.php">{LANG_LOGOUT}</a><br>{:IF}
      <a href="add_story.php">{LANG_SUBMITS}</a><br>
      <br>
	  <strong>{LANG_CATS}</strong><br>
      <br>
	  <a href="index.php">{LANG_VIEWALL}</a><br>
      {LOOP: CATS}
	  <a href="{CATS.cat_url}">{CATS.cat_title}</a><br>
	  {/LOOP: CATS}
	  <br>
    <br></td>
    <td valign="top"><strong>{USERNAME}</strong>
	<br>
	<br>
	<table width="100%" cellpadding="0" cellspacing="0">
	{LOOP: DUGG}
	<tr><td width="100" align="left" valign="top"><table width="70" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="40" align="center" bgcolor="#D9F2FF"><div id="numdigs{DUGG.story_id}">{DUGG.story_digs}</div></td>
      </tr>
      <tr>
        <td align="center" bgcolor="#D9F2FF">&nbsp;</td>
      </tr>
      <tr>
        <td height="20" align="center"><div id="digbut{DUGG.story_id}">IF("{DUGG.dugg}"=="1"){{LANG_DUGG}{:IF}IF("{DUGG.dugg}"=="0"){<a href="javascript:dig({DUGG.story_id});">{LANG_DIGIT}</a>{:IF}</div></td>
      </tr>
    </table></td>
	<td valign="top">
	  <table width="100%" height="70"  border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="20" valign="top"><a href="{DUGG.story_url}">{DUGG.story_title}</a></td>
        </tr>
		<tr>
		<td>{LANG_SUBBY} <a href="profile.php?id={DUGG.user_id}">{DUGG.user_name}</a></td>
		</tr>
        <tr>
          <td valign="top">{DUGG.story_desc}</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td valign="bottom"><a href="story.php?id={DUGG.story_id}#comments">{DUGG.story_comments} {LANG_COMS}</a> - <a href="story.php?id={DUGG.story_id}">{LANG_MORE}</a></td>
        </tr>
      </table></td></tr>
	<tr><td colspan="2">&nbsp;</td></tr>
	{/LOOP: DUGG}
	</table>
	<br><Br>
	{LANG_PAGES}: {LOOP: PAGES}<a href="{PAGES.link}">{PAGES.title}</a> {/LOOP: PAGES}<br></td>
  </tr>
</table>
{OVERALL_FOOTER}